#ifndef MCHARACTER_H
#define MCHARACTER_H

#include <QObject>

class MCharacter : public QObject
{
    Q_OBJECT
    private:
        int id;
        QString username;
        QString map_ip;
        QString map_port;
        QString map_name;
        int exp;
        int level;
        QString bonus;

        int pos_x;
        int pos_y;
        int position;
        QString direction;

    public:
        MCharacter();
        ~MCharacter();

        // Getters
        int get_id();
        QString get_username();
        QString get_map_ip();
        QString get_map_port();
        QString get_map_name();
        int get_exp();
        int get_level();
        QString get_bonus();

        int get_pos_x();
        int get_pos_y();
        int get_position();
        QString get_direction();

        // Setters
        void set_id(int id);
        void set_username(QString username);
        void set_map_ip(QString ip);
        void set_map_port(QString map_port);
        void set_map_name(QString map_name);
        void set_exp(int exp);
        void set_level(int level);
        void set_bonus(QString bonus);

        void set_pos_x(int pos_x);
        void set_pos_y(int pos_y);
        void set_position(int position);
        void set_direction(QString direction);

};

#endif // MCHARACTER_H
